#ifndef SERIALHELPER_H
#define SERIALHELPER_H

#include <QObject>
#include <QSerialPort>
#include <QSerialPortInfo>



class SerialPortHelper  : public QObject
{
    Q_OBJECT

public:

    explicit SerialPortHelper(QObject *parent = nullptr);

    ~SerialPortHelper();




    Q_INVOKABLE static QStringList queryPortName();




signals:



public slots:



private:
    QSerialPort *m_serial;

};

#endif // SERIALHELPER_H
